from django.urls import path, include
from web.apis.BaiDu import OpenBlackWidow
# api/translate/

urlpatterns = [
    # 黑寡妇
    # 获取语种
    path('baidu/black_widow/get_language/', OpenBlackWidow.get_language),
    # 获取翻译文本相似的文本
    path('baidu/black_widow/get_sug_text/', OpenBlackWidow.get_sug_text),
    # 翻译
    path('baidu/black_widow/translate/', OpenBlackWidow.translate),

    # AI
    path('ai/', include("web.apis.AI.urls")),
]
